package dome1;

public class Air {
     String cpu;

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public void setMery(String mery) {
        this.mery = mery;
    }

    public void setSprier(String sprier) {
        this.sprier = sprier;
    }

    public void setBand(String band) {
        this.band = band;
    }

    public String getCpu() {
        return cpu;
    }

    public String getMery() {
        return mery;
    }

    public String getSprier() {
        return sprier;
    }

    public String getBand() {
        return band;
    }

    String mery;
    public String sprier;
    String band;

   public Air(String cpu,String mery, String sprier, String band) {
        this.cpu = cpu;
        this.mery = mery;
        this.sprier = sprier;
        this.band = band;
    }

    public void kai() {
       System.out.println("开机");
    }

    public void gua() {
       System.out.println("关机");
    }

    public void san() {
       System.out.println("上网");
    }

}
